package wz.base.test;

import com.wz.base.support.events.DomainEvent;

import java.time.Instant;
import java.util.UUID;

public class HelloWorldCreated implements DomainEvent {

    public HelloWorldCreated() {
    }

    @Override
    public UUID getEventId() {
        return new UUID(1,100);
    }

    @Override
    public UUID getAggregateId() {
        return new UUID(1,100);
    }

    @Override
    public Instant getWhen() {
        return Instant.now();
    }

 }